package jmine.tec.hydra.script.impl;

import jmine.tec.hydra.util.stream.InputableOutputStream;
import jmine.tec.script.RenderResult;
import jmine.tec.script.ScriptLogger;

 
/**
 * VO com o resultado da execução de um script de renderização.
 * 
 * @author seiti
 * @created May 13, 2011
 */
public class RenderResultImpl  implements RenderResult {

    private ScriptLogger scriptLogger;
    
    private InputableOutputStream stream;
    
    /**
     * @param scriptLogger o logger
     */
    public void setScriptLogger(ScriptLogger scriptLogger) {
        this.scriptLogger = scriptLogger;
    }

    /**
     * @return o logger
     */
    public ScriptLogger getScriptLogger() {
        return scriptLogger;
    }

    /**
     * @param stream o stream
     */
    public void setStream(InputableOutputStream stream) {
        this.stream = stream;
    }
    
    /**
     * @return o logger
     */
    public InputableOutputStream getStream() {
        return stream;
    }

}
